package iot.wlink.network.devices.model;

import iot.wlink.network.devices.model.sub.Event;
import iot.wlink.network.devices.model.sub.Function;
import iot.wlink.network.devices.model.sub.Properties;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author : willian fu
 * @date : 2021/8/20
 * 设备模型，描述设备的属性、功能、事件
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DeviceModel {

    private String uid;

    private Long tid;

    //属性
    private List<Properties> properties;

    //功能
    private List<Function> functions;

    //事件
    private List<Event> events;


}
